package com.hd.service;

import com.hd.entity.Msg;

public interface MsgService {
    void save(Msg msg);
    void update(String id,Integer status);
    Msg get(String id);

    /**
     * 批量更新状态
     * @param ids
     */
    void updateByIdsAndStatus(String ids,Integer status);
    void update(String objId, Integer status,String type);
    void deleteByParams(String objId,String type);
    void deleteByParams(String objId,String type,String receiver);
}
